using System;

namespace CloudStorage.API.Entities
{
  /// <summary>
  /// Contract for a Cloud Table Storage
  /// </summary>
  public interface IEntity
  {
    /// <summary>
    /// Time stamp for the entity last modified time
    /// </summary>
    DateTime Timestamp { get; set; }

    /// <summary>
    /// The partition key of a table entity. The concatenation of the partition key 
    /// and row key must be unique per table.
    /// </summary>
    string PartitionKey { get; set; }

    /// <summary>
    /// The row key of a table entity.
    /// </summary>
    string RowKey { get; set; } 
  }
}